#!/usr/bin/env bash
ip_addr=`ip a | grep "/32" | awk '{print $2}' | cut -d '/' -f1`
port="10002"
curl -vvv -XPOST -H 'content-type:application/json;charset=UTF-8' http://$ip_addr:$port/control/validate -d '{"path": "/msg/get_msg_and_channels", "contentType": "application/json", "method": "GET", "orderedParams": "appId=47110563037231&languageId=1&pageNo=1&pageSize=10&phoneCode=24e94e68016ec3bc4b01cb0e358396d8c&queryType=0&randStr=81ba25d5ffe5e39253e75d2cfc749560&sourceId=td001001000066bb4423e7fbbcea63dad2297beffa8c&sign=c3cfcb09cb0e92450f01e5a7f701d97d1a918f88&timeStamp=1740548278207&timezone=Asia/Shanghai&version=8.1"}'